// "Copyright [2021] <Copyright Shengkai Lin>"

package cluster.dispatcher;

simple Dispatcher {
    parameters:
        @controlplane_task;
        // 0 = gen tasks by task gen
        // 1 = get flows from txt
        // 2 = get tasks from http server
        int inputType = default(0);

    gates:
        input network_routing_port;
        input task_generator_port;
        inout machine_port[];
}